<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        // >,<,>=,<=,==,===比较运算中结果返回boolean
        var a = true;
        var b = 1;
        console.log(a==b);
        // 判断两者是否值相等
        console.log(a===b);
        // 判断两者是否数值相等的同时类型也相等
    </script>
</body>
</html>